package com.beta.pay.yeepay.request;

import com.beta.pay.yeepay.enums.PayProductType;

import java.math.BigDecimal;

/**
 * Created by vector on 2016/11/25.
 */
public class PayRequest extends BaseRequest {

    private static final long serialVersionUID = -14356425662586226L;

    /**
     * 支付金额,必须大于0.01
     */
    private BigDecimal amount;

    /**
     * 用户表示
     */
    private String userNo;

    /**
     * 商品名称
     */
    private String productName;

    /**
     * 商品描述
     */
    private String productDesc;

    /**
     * 通知回调地址
     */
    private String callbackUrl;

    /**
     * web回跳地址
     */
    private String webCallbackUrl;

    /**
     * 有效时间
     */
    private Long invalidMinutes;

    /**
     * 支付产品类型
     */
    private PayProductType payProductType;

    private String clientIp;

    public PayRequest(String requestId) {
        super(requestId);
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public String getCallbackUrl() {
        return callbackUrl;
    }

    public void setCallbackUrl(String callbackUrl) {
        this.callbackUrl = callbackUrl;
    }

    public Long getInvalidMinutes() {
        return invalidMinutes;
    }

    public void setInvalidMinutes(Long invalidMinutes) {
        this.invalidMinutes = invalidMinutes;
    }

    public PayProductType getPayProductType() {
        return payProductType;
    }

    public void setPayProductType(PayProductType payProductType) {
        this.payProductType = payProductType;
    }

    public String getWebCallbackUrl() {
        return webCallbackUrl;
    }

    public void setWebCallbackUrl(String webCallbackUrl) {
        this.webCallbackUrl = webCallbackUrl;
    }

    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }
}
